<html>

<head>
  <meta charset="utf-8" />
  <title>矩阵测试</title>
  <script src='../dist/matrix-webgpu.js' type="text/javascript"></script>
  <script type="text/javascript">
    function init () {
        let a=new matrix.Vec4([1,2,3,4]);
        a.xy;
        console.log(a.xy.toString());
    }
  </script>
</head>

<body onload="init()">
  <canvas style="width: 400px; height: 50px;background-color: #ffffe4;"></canvas>
  <canvas style="width: 400px; height: 50px;background-color:#c0c0c0"></canvas>
</body>
</html>